#ifndef _APP_H
#define _APP_H

#include "o_app_base.h"
#include "o_core.h"
 

class App : public AppBase {
public:
	void on_create();
	void on_release();
	void on_reset();
	void on_message();
	void on_update();
    void on_lost();
    void on_destroy();
    void on_input();
    void on_render();

	static App& get_instance()
	{  
		static  App self;
		return self;
	}
 
public:
	App();
	virtual ~App();

public:
	Core    *p_core;

	
};


#endif
